<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body class="bg-gradient-to-br from-blue-400 via-purple-500 to-pink-400 min-h-screen">
    <!-- 状态栏 -->
    <div class="flex justify-between items-center px-6 py-3 text-white">
        <span class="text-sm font-medium">9:41</span>
        <div class="flex items-center space-x-1">
            <i class="fas fa-signal text-sm"></i>
            <i class="fas fa-wifi text-sm"></i>
            <i class="fas fa-battery-three-quarters text-sm"></i>
        </div>
    </div>

    <!-- 主要内容 -->
    <div class="px-6 pb-20">
        <!-- 欢迎区域 -->
        <div class="text-center mb-8">
            <div class="w-20 h-20 bg-white rounded-full mx-auto mb-4 flex items-center justify-center shadow-lg">
                <img src="https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?w=80&h=80&fit=crop&crop=face" 
                     alt="头像" class="w-16 h-16 rounded-full object-cover">
            </div>
            <h1 class="text-2xl font-bold text-white mb-2">你好，小明！</h1>
            <p class="text-white/80">今天也要加油学习哦～</p>
        </div>

        <!-- 学习进度卡片 -->
        <div class="bg-white/20 backdrop-blur-lg rounded-3xl p-6 mb-6 border border-white/30">
            <div class="flex items-center justify-between mb-4">
                <h2 class="text-lg font-semibold text-white">今日学习</h2>
                <span class="text-white/80 text-sm">3/5 完成</span>
            </div>
            <div class="w-full bg-white/30 rounded-full h-3 mb-4">
                <div class="bg-yellow-400 h-3 rounded-full" style="width: 60%"></div>
            </div>
            <div class="flex justify-between text-white/80 text-sm">
                <span>已学 12 个单词</span>
                <span>连续学习 7 天</span>
            </div>
        </div>

        <!-- 快速功能 -->
        <div class="grid grid-cols-2 gap-4 mb-6">
            <div class="bg-white rounded-2xl p-6 text-center shadow-lg">
                <div class="w-12 h-12 bg-blue-100 rounded-xl mx-auto mb-3 flex items-center justify-center">
                    <i class="fas fa-book text-blue-500 text-xl"></i>
                </div>
                <h3 class="font-semibold text-gray-800 mb-1">开始学习</h3>
                <p class="text-gray-500 text-xs">学习新单词</p>
            </div>
            
            <div class="bg-white rounded-2xl p-6 text-center shadow-lg">
                <div class="w-12 h-12 bg-green-100 rounded-xl mx-auto mb-3 flex items-center justify-center">
                    <i class="fas fa-gamepad text-green-500 text-xl"></i>
                </div>
                <h3 class="font-semibold text-gray-800 mb-1">趣味游戏</h3>
                <p class="text-gray-500 text-xs">边玩边学</p>
            </div>
        </div>

        <!-- 推荐学习 -->
        <div class="bg-white rounded-2xl p-6 shadow-lg">
            <h3 class="font-semibold text-gray-800 mb-4">推荐学习</h3>
            <div class="space-y-3">
                <div class="flex items-center space-x-3">
                    <img src="https://images.unsplash.com/photo-1574781330855-d0db8cc6a79c?w=60&h=60&fit=crop" 
                         alt="动物" class="w-12 h-12 rounded-xl object-cover">
                    <div class="flex-1">
                        <h4 class="font-medium text-gray-800">动物世界</h4>
                        <p class="text-gray-500 text-sm">20个单词 · 适合初学者</p>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
                
                <div class="flex items-center space-x-3">
                    <img src="https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=60&h=60&fit=crop" 
                         alt="水果" class="w-12 h-12 rounded-xl object-cover">
                    <div class="flex-1">
                        <h4 class="font-medium text-gray-800">美味水果</h4>
                        <p class="text-gray-500 text-sm">15个单词 · 生活常用</p>
                    </div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
            </div>
        </div>
    </div>

    <!-- 底部导航 -->
    <div class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200">
        <div class="flex justify-around py-3">
            <div class="text-center">
                <i class="fas fa-home text-blue-500 text-xl mb-1"></i>
                <span class="text-blue-500 text-xs font-medium">首页</span>
            </div>
            <div class="text-center">
                <i class="fas fa-book text-gray-400 text-xl mb-1"></i>
                <span class="text-gray-400 text-xs">学习</span>
            </div>
            <div class="text-center">
                <i class="fas fa-gamepad text-gray-400 text-xl mb-1"></i>
                <span class="text-gray-400 text-xs">游戏</span>
            </div>
            <div class="text-center">
                <i class="fas fa-chart-line text-gray-400 text-xl mb-1"></i>
                <span class="text-gray-400 text-xs">进度</span>
            </div>
            <div class="text-center">
                <i class="fas fa-user text-gray-400 text-xl mb-1"></i>
                <span class="text-gray-400 text-xs">我的</span>
            </div>
        </div>
    </div>
</body>
</html>